#!/bin/bash

if [ -n "$1" ]; then
    chmod +x stop-remove.sh
    ./stop-remove.sh
    docker run -it --name bilibili -d \
      -p "$1":8080 \
      -v "/web/logs/bilibili":/logs \
      -v "$PWD/config":/root/bilibili \
      bilibili-task:lastest
else
    echo "请指定对外端口号"
fi